//
//  List.m
//  19-朱大哥json
//
//  Created by dllo on 16/8/9.
//  Copyright © 2016年 YMJ. All rights reserved.
//

#import "List.h"

@implementation List
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"id"]) {
        _id_str = value;
    }
}
- (instancetype)initWithDic:(NSDictionary *)dic {
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}
+ (instancetype)initWithDic:(NSDictionary *)dic {
    return [[self alloc] initWithDic:dic];
}

@end
